#ifndef MANAGER_H
#define MANAGER_H

#include <SDL.h>
#include "Image.h"

class Manager
{
    public:
    static SDL_Surface* GetSDLScreen()
    {
        return mScreen;
    };
    static void Blit(Image* surface, SDL_Rect& dstrect)
    {
        SDL_BlitSurface(surface->GetSurface(), 0, mScreen, &dstrect);
    };
    static void Blit(Image* surface, int posX, int posY)
    {
        SDL_Rect dstrect;
        dstrect.x = posX;
        dstrect.y = posY;
        SDL_BlitSurface(surface->GetSurface(), 0, mScreen, &dstrect);
    };
    static void Init(int resX, int resY, int bpp, int opts);
    private:
    static SDL_Surface* mScreen;
};

#endif // MANAGER_H
